SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b638cb3371593fd57eb8f911a1d0c58a518b87c3b6bdbf023c0f76b15d0d6ae' 
  AND token = 'wcNPZ7ITievy/UjF0r7ubgZrH7mKPFpDDLDDLh8Dvj4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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