SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af1716337d3eedf2e6b0866fceac13b52f052b63899e6ca466e8990722a63bac' 
  AND token = 'tAIcFRz42qoQXAL3rFg7SFfi7fwcvIpwWyVDbE13RfI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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