SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4005438a659b7aea5a8dd93c664a1b587c1689210faa5a6b352dbb51cc20cf5c' 
  AND token = 'aljVvLhbAW8R0LvOKJCWa1h2CZ4xsWaqwPcJM7lE4Ds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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