SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e03b8c867375c27f38a1709d556d919765fb2db78efa3af437f3b98dffc7017' 
  AND token = 'Pbqx069sxz9cdAl/cvjwynd5HiDzRROhYlIkjCs7sAM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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