SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24ebcb0aab295acae175cc675368c9a682494ec9b0dca9faf68e79ac5b1b56ca' 
  AND token = 'ktnm+XOQvGJCfCZoXAQwJrfelRxr6cklaI7uJoZLi7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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