SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0eee82753ec6b0621df28bf91f8977a64f551b03090780a960aad9a94a4f2b13' 
  AND token = 'wGIz2EuRy4KkqSZB7N+ad53oC3i0d4JomKJFc5JcSMs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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