SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04870e4667aeeb4545c3a27db1010cf2e4ecd32c25e041db09e07efce87d7248' 
  AND token = 'f0jKhv5W/Gj2Euoq5Xhwv1hi1GFV+ISS5fuMr5VsHpc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}