SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8a00048daf6bf30166dc401e497529315c7c19e84d9de0bc5c06bd18037ad57' 
  AND token = '5b4P0rKMmrK4C1gA267rCCfGwgpIYkUBVYgiZL/CMMs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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