SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '071ac5eb85a1f41770c764c98ecd412bc798b857ef9101a8355ad8ad031cdc15' 
  AND token = 'hJHhLUzEVNlD94NVYs6O8nQctTe2b5D2DNo9zd34ffA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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