SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7eea01d1984cbc78549d62446a45194a4c797feacf474d363ea57b35de318f97' 
  AND token = 'sCQZCG0BoQbCtcN/zWEcdQy2Gefzf/ThhCCkf+aHi+g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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