SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e818b0b371461a1cdc5e1b283e54d421f34a106825629d60f18298d3f5a1591' 
  AND token = 'X3C8h1IFL6ZAFwJvTA3N3RArjMCWg3uSVjoJ1JeZ47k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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