SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '417008e9e44c7f7bb0c298bd671fca013ad3abbd58998e3dd18ea76997113db8' 
  AND token = 'TMylq4t4dyNSyqcwPP0avTuMrPQz3yb5Ew3h3hI8/78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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