SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '329efd87bbdc23617373b253c414db35a5673d88398437bc40a45241589742df' 
  AND token = 'r0vBktihhNLt6o9xfuIDfjciQIt7Cy7X/BSSpKaLj3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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