SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '711ebef90c4deb2dbc0a7ebdf7eafcb88b3d39323163fee04346e2712f14676a' 
  AND token = 'ZA59sHbAnyWNp5Md+Uk9gQq0P9XbqhJJdveUBHlvJkE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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