SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd00571826e0b4e0631a6a7afc09d9816193238f8ee142890a1cf1521f3aaabf9' 
  AND token = '0JKFvfXG9y42/xl4cxnK5IOluiw1dwHND//EerK/76Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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