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

Query time 0.00016

JSON explain

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