SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a1b5789c06a647691a517518f73278e6561efc1ad8f29c3097e45244659d207' 
  AND token = 'k3VltWXbyX/2TLdCDCTXXQWqAjgkQIJn89usUk+W9vo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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