SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c79e76099c7e687672f4cee651fdf91447762a74da2a94acd38726f5e4c1d536' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}