SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f56a726e71eaf73183d6397999d92c2aa5a772313dd89843169530094619b1d' 
  AND token = 'r0I0/id6oT6LhKf+linanbjU+PDOnEuWwAL27WpnWxQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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