SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bab942beb1dce00112f94187cea96626330dacd6ae39aa0a03f158bdf9c57f8f' 
  AND token = '3tgb0buHZAES/EtwTln8aYRxuNXACR7+pJ+fOFqizfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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