SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '401c69c533b6aceeafaf8a631346655f291c3d65823aad3f9fcfda273896cd21' 
  AND token = 'vazlLIgoefuGLxMzFAaKU4A34BaC31YjFv7q7vKFfHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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