SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfa7b982d60e2f0fa35a544a3b8d4edf6a59e409296e17c2370719b99b41ac71' 
  AND token = 'w5GHpAHf2c/QWFwzQWdpnC9TKUWu2MG41r6ZkRyP7UI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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