SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '37be5abcff958ed21a1e06b8cefc87f77ed3226621813c050d3db4d8c1595c44' 
  AND token = 'Px9MsbtR+k0hd74Gr3jSG7CMIg2sNEuhTJfjwYNF/l8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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