SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd4030f3e1915d1ee9ec5e4d4ca28399d5e5d7ff875a4f9eb7f6bbce61edc1c5' 
  AND token = 'Ttu5I0+eMPMOiUd4tfHTxak4IBvguQXJTQz8CbRneuA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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