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

Query time 0.00037

JSON explain

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