SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd090e7fc535f703f27af94af3d8ce11a6c85067905bac62763bcb806735d5f2b' 
  AND token = 'z0aFSe5ntJ5DC4d0g2r/9d0OTmV8LAhWiNAwoMTnxns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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