SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21ccf9e13a3b05af1b809cc01dd852ac758df1e44f8297ce8d082629ce885b18' 
  AND token = '7jPUYIvS/XV03feeBAzXx5hyqJ71qXg69aemNt6vnxs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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