SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0987be40f5ecd5b9555aa79ef8a830478f510e9c64f3d110ed007630cdf5d967' 
  AND token = 'N9Wf4yQQBMc4q1O+ZHHILIWWxl+r/o8M5Ug+WzERC10=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00206

JSON explain

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