SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ba17209392b3aea85affd173d97380b5bca1656cee5e30345e46ac1a9d57c3d' 
  AND token = 'l4awXsNXEKfyFcvtaS5iLKElN6C2Ummc6/viotd2kjo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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