SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7161544fb30532e57ecac1294df35640e692a1dafed5d9367808dee31f29fa5' 
  AND token = 'P1oXaXvF1wtEtUBfPc1/zJ0GwOSxdhA2EIP91hbHmTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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