SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f06f3fcd9d851f51831f58065a63fe6327ff31971431e2da390b73944de80348' 
  AND token = 'phDpuXgyb1Q6exyKwkfPxS1QpnJ8f5vjCZinYEcfmws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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