SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac6caee0938b7ad624f76f6623042977e9d63ac6df276beb7ae9430a4747e682' 
  AND token = 'Dvww3FL9lf+otvErcRReM8NfOfHOJ6M1SyBQWlHXwv0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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