SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51a480066c1280ea9e15b8510658f62e49814350901a0dd4fc0083054176e004' 
  AND token = 'lNTITHIjMMZDmuid7Q2Gd9INfkbziys0kYhI6Rc17rU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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