SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56f46b030d2085bff5ae390ea401e52d6c381f49e43413790ff7c3d2e4d0f3bf' 
  AND token = 'hwLwbTnxBZWnC+0ZVrOqxbqtZEGeY3zyY+ZkxrtT07g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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