SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f24e7ef196733887ead91ff2f093acde6adb300149d6f346ed42025ba885fe2f' 
  AND token = 'AfGXZylV6C2OfG9W83YPMdAZ61Yqyl+GGQoeXFehq9E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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