SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f11d97b8acb954ff5dfeac19ab863704687f103c4e87d8ab258e878f04e0cd0' 
  AND token = 'P5/s5bX71bA/rhABz9083oT28kuMKhWsOsJY7zQJX7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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