SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54d9799bfc1dee888d1dc28140f449ab015eb81696c8c9fc7c956200b45cb248' 
  AND token = 'yYJQ2GNnaTO2lvbiu4Y1jb1wuw4AWEMYqaShlMrRHAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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